import { defineUserConfig } from "vuepress";
import theme from "./theme.js";

export default defineUserConfig({
  base: "/",

  lang: "zh-CN",
  title: "KK 架构学院",
  description: "每个人都可以成为架构师，您与架构师之间就差一个 KK 架构学院 - by kimmking",

  theme,

  head: [
    [
      'link', { rel: 'icon', href: '/logo.png' }
    ],
    // 百度统计
    [
      "script",
      {},
      `
      var _hmt = _hmt || [];
      (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?e6d1f421bbc9962127a50488f9ed37d1";
        var s = document.getElementsByTagName("script")[0]; 
        s.parentNode.insertBefore(hm, s);
      })();
      `
    ],

  ]

  // 和 PWA 一起启用
  // shouldPrefetch: false,
});

